﻿/***********************************************************************
 * <copyright file="UserResponse.cs" company="B/S JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   Hoang Bich Son 
 * Email:    sonhb@newman.vn
 * Website:
 * Create Date: Saturday, March 29, 2014
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/

using System.Collections.Generic;
using System.Runtime.Serialization;
using SecurityService.DataTransferObjects;
using SecurityService.MessageBase;

namespace SecurityService.Messages
{
    /// <summary>
    /// UserResponse class
    /// </summary>
    public class UserResponse : ResponseBase
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public UserResponse() { }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="correlationId"></param>
        public UserResponse(string correlationId) : base(correlationId) { }

        /// <summary>
        /// The users
        /// </summary>
        [DataMember]
        public IList<UserDto> Users;

        /// <summary>
        /// The user
        /// </summary>
        [DataMember]
        public UserDto User;
    }
}
